package com.yufuchang;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by yufuchang on 2020/9/3.
 */
@RestController
public class LomBokController {

    @GetMapping("/get_user")
    public User testUser(){
        User user  = new User();
        user.setName("yufuchang");
        user.setAge("30");
        return user;
    }
}
